<template>
  <div>
    <hr>
    <h1>我是输入框子组件:{{sonInput}}</h1>
    <input type="text" v-model="sonInput">
    <span>{{msg}}</span>
  </div>
</template>

<script>
export default {
  props:['msg'],
  data(){
    return {
      sonInput:""
    }
  },
}
</script>
<style>
</style>